<template>
<div>
  <navbar></navbar>
  <message-list :message-list="messageList"></message-list>
  <div class="blank"></div>
  <tabbar></tabbar>
</div>
</template>

<script>
import {messageList} from "@/data/message";
// import {getMessageData} from "@/network/message";
import Tabbar from "@/components/tabbar/tabbar";
import Navbar from "./components/navbar";
import MessageList from "./components/messageList";


export default {
name: "index",
  components: {MessageList, Navbar, Tabbar},
  data(){
  return{
    messageList
  }
  },
  // created() {
  //   getMessageData().then(res=>{
  //     this.messageList=res.data.message
  //     // console.log(res)
  //   })
  // }
}
</script>

<style scoped>

</style>